package com.hzyb.shopProductSpecifications.dao;

import java.util.List;

import org.springframework.data.domain.Sort;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import com.hzyb.shopProductSpecifications.model.ShopProductSpecifications;
@Repository
public interface ShopProductSpecificationsDao extends CrudRepository<ShopProductSpecifications, String>{
	public ShopProductSpecifications findFirstByCommoditySid(String commoditySid,Sort sort);
	
	public List<ShopProductSpecifications> findByCommoditySid(String commoditySid);
}
